//
//  GlobalConst.m
//  YSSmartHome
//
//  Created by yanghao on 2016/11/27.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import "GlobalConst.h"

NSString *const kZTMQTTBaseURL = @"cloud.wisper.com.cn";
XAITYPELUID const kGATEWAYLUID = 0x0000000000000001;
XAITYPEAPSN const kZTCloudGatewayApsn = 0x00000001;
XAITYPEAPSN const kZTResetPwdApsn = 0xFFFFFFF1;
XAITYPEAPSN const kZTRegisterUserApsn = 0xFFFFFFF2;
XAITYPEAPSN const kZTRemoveUserApsn = 0xFFFFFFF3;
XAITYPEAPSN const kZTChangePwdApsn = 0xFFFFFFF4;
XAITYPEAPSN const kZTInvalIDApsn = 0xFFFFFFFF;
uint16_t  const kZTMQTTBasePort  = 9001;

NSString* const kZTShockSwitchIsOpen = @"kZTShockSwitchIsOpen";
NSString* const kZTChangeGatewayNotifKey = @"kZTChangeGatewayNotifKey";
NSString* const kZTAddLinkageInfoNotifKey = @"kZTAddLinkageInfoNotifKey";
NSString* const kZTSwitchRootViewControllerKey = @"kZTSwitchRootViewControllerKey";
NSString* const kZTLoginEoorOrTimeOutNotifKey = @"kZTLoginEoorOrTimeOutNotifKey";
NSString* const kZTExitLoginNotification = @"kZTExitLoginNotification";
NSString* const kZTRemoveLinkageNotifKey = @"kZTRemoveLinkageNotifKey";
NSString* const kZTRemoveDeviceNotifKey = @"kZTRemoveDeviceNotifKey";
NSString* const kZTAddNewRoomNotifKey = @"kZTAddNewRoomNotifKey";
NSString* const kZTRemoveRoomNotifKey = @"kZTRemoveRoomNotifKey";
NSString* const kZTSwitchGatewayNotifKey = @"kZTSwitchGatewayNotifKey";
NSString* const kZTRoomRefreshNotifKey = @"kZTRoomRefreshNotifKey";
NSString* const kZTShowNavigationBarNotifKey = @"kZTShowNavigationBarNotifKey";
NSString* const kZTProtectChangeNotifKey = @"kZTProtectChangeNotifKey";
NSString* const kZTShowOfflineMessageNotifKey = @"kZTShowOfflineMessageNotifKey";
NSString* const NetWorkDidChangeNotification  = @"YSSmartHome.NetWorkDidChangeNotification";
